package com.adee.nowcoder.huawei;

import java.util.Arrays;

public class T036_HJ036 {
    public static void main(String[] args) {
        String s = "ghIUADFjsdufaA";
        char[] arr = s.toCharArray();
        Arrays.sort(arr);
        System.out.println(new String(arr));
        int i = Arrays.binarySearch(arr, 'k');
        System.out.println(arr[i]);
    }
}
